Problem Note 60939: Procedures MEANS, REPORT, SUMMARY, and TABULATE might produce incorrect results when calculating weighted MIN, MAX, and RANGE statistics in-database
When run in-database, the MEANS, REPORT, SUMMARY, and TABULATE procedures might produce incorrect results when calculating weighted MIN, MAX, and RANGE statistics. The SQL that is generated and submitted to the DBMS to calculate these statistics does not account for missing and non-positive values of the weight variable. Statistics might be incorrect if either of the following is also true:
- the weight variable contains missing values
- the weight variable contains non-positive values that should be excluded when the EXCLNPWGT option is used
Correct statistics are generated when these procedures are not run in-database.
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Linux for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
HP-UX IPF | 9.4 TS1M0 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.4 TS1M0 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.4 TS1M0 | 9.4 TS1M5 |
Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 10 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.4 TS1M5 |
z/OS 64-bit | 9.4 TS1M0 | 9.4 TS1M5 |
z/OS | 9.4 TS1M0 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2017-08-18 15:39:30 |
Date Created: | 2017-08-18 11:07:12 |